import { defineStore } from 'pinia'
// import { useSystemStore } from '@/pinia/system'
// const systemStore = useSystemStore()
import { useLayoutStore } from '@/pinia/layout'
const layoutStore = useLayoutStore()
export const useSaveConfig = defineStore('save-config', () => {
  const saveLayout = (width: string) => {
    layoutStore.editstore({ leftWidth: width })
  }

  return {
    saveLayout
  }
})
